package com.wanmei.mapper;

import com.wanmei.pojo.Orderdetail;

import java.util.List;

public interface OrderdetailMapper {
    int deleteByPrimaryKey(Integer detailid);

    int insert(Orderdetail record);

    int insertSelective(Orderdetail record);

    Orderdetail selectByPrimaryKey(Integer detailid);

    int updateByPrimaryKeySelective(Orderdetail record);

    int updateByPrimaryKey(Orderdetail record);
    int updateByPid(Integer pid);

    List<Orderdetail> selectByOid(String oid);
}